package org.example.myleet.p507;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(solution.checkPerfectNumber(28));
        Assert.isTrue(solution.checkPerfectNumber(6));
        Assert.isTrue(solution.checkPerfectNumber(496));
        Assert.isTrue(solution.checkPerfectNumber(8128));
        Assert.isTrue(!solution.checkPerfectNumber(2));
        Assert.isTrue(!solution.checkPerfectNumber(8));
    }
}
